<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2021/3/9
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3 align="center">添加新员工</h3>
<form action="user.do?method=addUser" method="post">
    <table width="350px" border="1px" align="center">
        <tr>
            <td>姓名</td>
            <td><input type="text" name="name"></td>
        </tr>
        <tr>
            <td>性别</td>
            <td>
                <input type="radio" name="gender" value="0">男
                <input type="radio" name="gender" value="1">女
            </td>
        </tr>
        <tr>
            <td>角色</td>
            <td>
                <select name="role">
                    <option value="2">HR</option>
                    <option value="3">员工</option>
                </select> &nbsp;
            </td>
        </tr>
        <tr>
            <td>部门</td>
            <td>
                <select name="dept">
                    <option value="2">人力资源部</option>
                    <option value="3">技术研发部</option>
                    <option value="4">财务部</option>
                    <option value="5">公关部</option>
                    <option value="6">教学部</option>
                    <option value="7">运营部</option>
                </select> &nbsp;
            </td>
        </tr>

        <tr>
            <td>职位</td>
            <td>
                <select name="job">
                    <option value="t1">t1</option>
                    <option value="t2">t2</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>电话</td>
            <td>
                <input type="text" name="telephone">
            </td>
        </tr>
        <tr>
            <td>地址</td>
            <td>
                <input type="text" name="address">
            </td>
        </tr>

        <tr>
            <td colspan="2"><input type="submit" value="提交"></td>
        </tr>
        <a href="mainPage.jsp">回到首页</a>
    </table>
</form>
</body>
</html>
